package com.lixw.aiassistant.model.memory;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecognizedIntent {
    private String intent;

    private String formatHistory;

    public boolean isOrderIntent() {
        return "place_order".equals(intent) || "view_order".equals(intent) || "cancel_order".equals(intent);
    }
}